﻿using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using BU.Netgest;

namespace UnitTests
{
    [TestFixture]
    public class TcpClientsCommandsTests
    {
        [Test]
        public void testmethod()
        {
            int entiertest;
            BU.Netgest.TcpServeurCommands tcpclientcommands = new TcpServeurCommands();
            entiertest = tcpclientcommands.connexion();
            Assert.IsNotNull(entiertest);
        }

        [Test]
        public void testmethod2()
        {
            BU.Netgest.TcpServeurCommands tcpclientcommands = new TcpServeurCommands();
            if (tcpclientcommands.connexion() == 0)
            {
                Assert.IsTrue(true);
            }
            else
            {
                Assert.IsTrue(false);
            }
        }
    }
}
